<fieldset>
    <legend>条件搜索</legend>
    <form action="{:request()->url()}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get" onsubmit="return false">
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">来源城市</label>
            <label class="layui-input-inline">
                <input class="layui-input" name="from_city" placeholder="请输入来源城市" value="{:input('from_city','')}">
            </label>
        </div>

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">归属城市</label>
            <label class="layui-input-inline">
                <input class="layui-input" name="to_city" placeholder="请输入归属城市" value="{:input('to_city','')}">
            </label>
        </div>

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">城市负责人</label>
            <label class="layui-input-inline">
                <input class="layui-input" name="name" placeholder="请输入城市负责人" value="{:input('name','')}">
            </label>
        </div>

<!--        <div class="layui-form-item layui-inline">-->
<!--            <label class="layui-form-label">使用状态</label>-->
<!--            <div class="layui-input-inline">-->
<!--                <select class="layui-select" name="status">-->
<!--                    <option value=''>-- 全部 --</option>-->
<!--                    {foreach ['禁用', '启用'] as $k=>$v}-->
<!--                    {if $k.'' eq input('status')}-->
<!--                    <option selected value="{$k}">{$v}</option>-->
<!--                    {else}-->
<!--                    <option value="{$k}">{$v}</option>-->
<!--                    {/if}{/foreach}-->
<!--                </select>-->
<!--            </div>-->
<!--        </div>-->

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">创建时间</label>
            <label class="layui-input-inline">
                <input class="layui-input" data-date-range name="create_at" placeholder="请选择创建时间" value="{:input('create_at','')}">
            </label>
        </div>

        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
        </div>
    </form>

    <script>form.render()</script>
</fieldset>
